package User;

public class User{
	
	private String username;
	private boolean login;
	
	public User(String username){
		this.username = username;
	}

	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public boolean isLogin() {
		return login;
	}
	public void setLogin(boolean login) {
		this.login = login;
	}

	public void logOff(){
		username="";
		login=false;
	}
}
